        <!-- Popup edit person -->
        <div id="popup_edit_person" class="popup hidden">

            <div class="content-box corners popup-buttons">
                <header>
                    <h3><img src="<?= $this->config->item('webroot') ?>images/icons/information.png" alt="" />Edit Person</h3>
                    <span class="right-buttons"><a href="#" class="btn nyroModalClose"><span class="icon icon-disk">&nbsp;</span>Save</a><a href="#" class="btn nyroModalClose"><span class="icon icon-cancel">&nbsp;</span>Cancel</a></span>
                </header>
                <section class="width-95pc scrollable">
                	<form id="form_edit_person">
                        <div class="column first ta-center">
                            <img src="<?= $this->config->item('webroot') ?>images/preview-not-available-medium.gif" alt="" />
                            <div>[<a>change</a>]</div>
                        </div>
                        <div class="column fields">
                            <table class="no-style full">
                                <tr>
                                    <td>First Name</td>
                                    <td><input type="text" name="first_name" value="" /></td>
                                    <td width="20">&nbsp;</td>
                                </tr>
                                <tr>
                                    <td>Last Name</td>
                                    <td><input type="text" name="last_name" value="" /></td>
                                    <td>&nbsp;</td>
                                </tr>
                                <tr>
                                    <td>Company</td>
                                    <td>
                                        <select>
                                            <?php //insert companies here ?>
                                        </select>
                                    </td>
                                    <td>&nbsp;</td>
                                </tr>
                                <tr>
                                    <td>Type</td>
                                    <td><label class="choice"><input name="contact_type_id[]" type="checkbox" value="-1" checked="checked" /> Same as Company</label><br />
										<?php

                                            foreach($contact_types as $contact_type_id => $name) {
                                                echo '<label class="choice"><input type="checkbox" name="contact_type_id[]" /> '.$name.'</label><br />';
                                            }

                                        ?>
                                    </td>
                                    <td>&nbsp;</td>
                                </tr>
                                <? /*
                                <tr class="deletable-row">
                                    <td>Email</td>
                                    <td><input type="text" value="fborromeo@bmwphilippines.com" /></td>
                                    <td><a href="#"><img class="delete-row" src="<?= $this->config->item('webroot') ?>images/icons/delete.png" alt="" /></a></td>
                                </tr>
								*/ ?>
                            </table>
                        </div>
                </form>
                </section>
            </div>

        </div>
        <!-- end popup edit person -->